//
//  CCRViewController.h
//  iHealthEHR
//
//  Created by Joseph Ayo Akinyele on 3/12/10.
//  Copyright 2010 Johns Hopkins University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RecordViewController.h"
#import "GoogleHealth.h"
@class RecordViewController;

@interface CCRViewController : UITableViewController 
	<UITableViewDelegate, UITableViewDataSource>
{
	NSArray *myProfileList;
	NSMutableDictionary *ccrProfiles, *ccrNotices;
	NSString *curSelectedProfile;
	GoogleHealth *googlehealth;
	RecordViewController *recordViewController;
}

@property (nonatomic, retain) NSArray *myProfileList;
@property (nonatomic, retain) NSMutableDictionary *ccrProfiles, *ccrNotices;
@property (nonatomic, retain) NSString *curSelectedProfile;
@property (nonatomic, retain) GoogleHealth *googlehealth;

-(void) fetchSelectedProfile:(int) rowIndex;
-(void) fetchSelectedRegisterFeeds:(int) rowIndex;
-(GDataEntryBase *) selectedProfileListEntry:(int)rowIndex;
// Should return a profile and set the appropriate field in the class?
-(void) getProfile;
-(void) getNotices;
-(void) loadNextView;

@end
